package cn.wsn2018.tools.model.Log;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @program: tools
 * @description:告警日志
 * @author: songDaisong
 * @create: 2019-12-07 15:07
 **/

@Document("warningLogInfo")
public class WarningLogInfo extends LogInfo {


    private String warningType;
    private String warningLevel;
    private String warningModuleName;
    private String warningInfo;

    public String getWarningType() {
        return warningType;
    }

    public void setWarningType(String warningType) {
        this.warningType = warningType;
    }

    public String getWarningLevel() {
        return warningLevel;
    }

    public void setWarningLevel(String warningLevel) {
        this.warningLevel = warningLevel;
    }

    public String getWarningInfo() {
        return warningInfo;
    }

    public void setWarningInfo(String warningInfo) {
        this.warningInfo = warningInfo;
    }

    public String getWarningModuleName() {
        return warningModuleName;
    }

    public void setWarningModuleName(String warningModuleName) {
        this.warningModuleName = warningModuleName;
    }

    @Override
    public String toString() {
        return "WarningLogInfo{" +
                "warningType='" + warningType + '\'' +
                ", warningLevel='" + warningLevel + '\'' +
                ", warningInfo='" + warningInfo + '\'' +
                ", warningModuleName='" + warningModuleName + '\'' +
                ", id='" + id + '\'' +
                ", type='" + type + '\'' +
                ", createTime='" + createTime + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
